package com.ying.tests.CCCbasis.Test3Socket;

import java.net.InetAddress;
import java.net.UnknownHostException;

public class Test3NetworkDemo {

    public static void main(String[] args) {

//        try {
//            InetAddress byName = InetAddress.getByName("www.baidu.com");
//            System.out.println(byName);
//        } catch (UnknownHostException e) {
//            e.printStackTrace();
//        }


    }

}
